home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1992-10-12 | 2.5 KB | [TEXT/KAHL] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: Sounds.h
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Mon Oct 12 00:17:14 1992, modified Mon Oct 12 00:17:14 1992, creator Think C, type ASCII, 1901 bytes "Sounds.h" , at 0x7ed 428 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 08 53 6f 75 6e 64 73 | 2e 68 00 00 00 00 00 00 |..Sounds|.h......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 07 6d 00 | 00 01 ac a6 fe ac ca a6 |......m.|........|
|00000060| fe ac ca 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 53 42 00 00 |........|....SB..|
|00000080| 2f 2a 0d 09 53 6f 75 6e | 64 73 2e 68 0d 09 0d 09 |/*..Soun|ds.h....|
|00000090| 49 6e 74 65 72 66 61 63 | 65 20 74 6f 20 53 6f 75 |Interfac|e to Sou|
|000000a0| 6e 64 73 2e 63 0d 09 0d | 09 41 20 6d 6f 64 75 6c |nds.c...|.A modul|
|000000b0| 65 20 74 6f 20 70 72 6f | 76 69 64 65 20 73 69 6d |e to pro|vide sim|
|000000c0| 70 6c 65 20 73 6f 75 6e | 64 20 70 6c 61 79 69 6e |ple soun|d playin|
|000000d0| 67 20 66 6f 72 20 41 66 | 74 65 72 20 44 61 72 6b |g for Af|ter Dark|
|000000e0| 20 6d 6f 64 75 6c 65 73 | 2e 0d 09 0d 09 62 79 20 | modules|.....by |
|000000f0| 50 61 74 72 69 63 6b 20 | 43 2e 20 42 65 61 72 64 |Patrick |C. Beard|
|00000100| 2e 0d 09 09 0d 09 37 2f | 35 2f 39 30 20 2d 20 4f |......7/|5/90 - O|
|00000110| 6e 65 20 73 68 6f 74 20 | 73 6f 75 6e 64 2c 20 72 |ne shot |sound, r|
|00000120| 65 74 75 72 6e 69 6e 67 | 20 68 61 6e 64 6c 65 20 |eturning| handle |
|00000130| 74 6f 20 61 20 73 74 72 | 75 63 74 75 72 65 20 74 |to a str|ucture t|
|00000140| 68 61 74 20 6b 65 65 70 | 73 20 69 6e 66 6f 72 6d |hat keep|s inform|
|00000150| 61 74 69 6f 6e 0d 09 61 | 62 6f 75 74 20 74 68 65 |ation..a|bout the|
|00000160| 20 6f 70 65 72 61 74 69 | 6e 67 20 73 6f 75 6e 64 | operati|ng sound|
|00000170| 20 6d 61 6e 61 67 65 72 | 2e 0d 09 0d 09 33 2f 32 | manager|.....3/2|
|00000180| 30 2f 39 31 20 2d 20 53 | 6f 75 6e 64 20 75 6e 64 |0/91 - S|ound und|
|00000190| 65 72 20 41 2f 55 58 20 | 32 2e 30 2e 31 20 69 73 |er A/UX |2.0.1 is|
|000001a0| 20 6e 6f 74 20 61 73 20 | 77 65 20 74 68 6f 75 67 | not as |we thoug|
|000001b0| 68 74 2e 20 20 49 74 20 | 69 73 20 62 61 73 65 64 |ht. It |is based|
|000001c0| 20 6f 6e 0d 09 73 79 73 | 74 65 6d 20 36 2e 30 2e | on..sys|tem 6.0.|
|000001d0| 37 2c 20 61 6e 64 20 79 | 65 74 20 74 68 65 20 73 |7, and y|et the s|
|000001e0| 6f 75 6e 64 20 6d 61 6e | 61 67 65 72 20 64 6f 65 |ound man|ager doe|
|000001f0| 73 6e 27 74 20 73 75 70 | 70 6f 72 74 20 6d 75 6c |sn't sup|port mul|
|00000200| 74 69 70 6c 65 20 63 68 | 61 6e 6e 65 6c 73 20 6f |tiple ch|annels o|
|00000210| 66 0d 09 73 6f 75 6e 64 | 2e 20 20 4e 75 74 73 2e |f..sound|. Nuts.|
|00000220| 20 20 4e 65 65 64 20 74 | 6f 20 75 73 65 20 47 65 | Need t|o use Ge|
|00000230| 73 74 61 6c 74 20 74 6f | 20 63 68 65 63 6b 20 66 |stalt to| check f|
|00000240| 6f 72 20 74 68 65 20 73 | 6f 75 6e 64 20 69 6e 70 |or the s|ound inp|
|00000250| 75 74 2f 6f 75 74 70 75 | 74 20 6d 61 6e 61 67 65 |ut/outpu|t manage|
|00000260| 72 0d 09 69 6e 73 74 65 | 61 64 20 6f 66 20 74 65 |r..inste|ad of te|
|00000270| 73 74 69 6e 67 20 74 68 | 65 20 73 79 73 74 65 6d |sting th|e system|
|00000280| 20 76 65 72 73 69 6f 6e | 2e 0d 09 0d 09 33 2f 32 | version|.....3/2|
|00000290| 38 2f 39 31 20 2d 20 4d | 6f 64 69 66 79 69 6e 67 |8/91 - M|odifying|
|000002a0| 20 69 6e 74 65 72 66 61 | 63 65 73 20 74 6f 20 75 | interfa|ces to u|
|000002b0| 73 65 20 63 61 6c 6c 20 | 62 61 63 6b 73 20 70 72 |se call |backs pr|
|000002c0| 6f 76 69 64 65 64 20 62 | 79 20 41 66 74 65 72 20 |ovided b|y After |
|000002d0| 44 61 72 6b 2e 20 20 52 | 65 71 75 69 72 65 73 0d |Dark. R|equires.|
|000002e0| 09 61 64 64 69 74 69 6f | 6e 20 6f 66 20 47 4d 50 |.additio|n of GMP|
|000002f0| 61 72 61 6d 73 0d 09 0d | 09 43 6f 70 79 72 69 67 |arams...|.Copyrig|
|00000300| 68 74 20 a9 20 31 39 39 | 30 2c 20 39 31 20 42 65 |ht . 199|0, 91 Be|
|00000310| 72 6b 65 6c 65 79 20 53 | 79 73 74 65 6d 73 2c 20 |rkeley S|ystems, |
|00000320| 49 6e 63 2e 0d 20 2a 2f | 0d 0d 23 69 66 6e 64 65 |Inc.. */|..#ifnde|
|00000330| 66 20 5f 5f 53 4f 55 4e | 44 53 5f 5f 0d 23 64 65 |f __SOUN|DS__.#de|
|00000340| 66 69 6e 65 20 5f 5f 53 | 4f 55 4e 44 53 5f 5f 0d |fine __S|OUNDS__.|
|00000350| 0d 23 69 66 20 54 48 49 | 4e 4b 5f 43 20 3d 3d 20 |.#if THI|NK_C == |
|00000360| 31 0d 0d 23 69 6e 63 6c | 75 64 65 20 3c 53 6f 75 |1..#incl|ude <Sou|
|00000370| 6e 64 4d 67 72 2e 68 3e | 0d 74 79 70 65 64 65 66 |ndMgr.h>|.typedef|
|00000380| 20 50 72 6f 63 50 74 72 | 20 53 6e 64 43 61 6c 6c | ProcPtr| SndCall|
|00000390| 42 61 63 6b 50 72 6f 63 | 50 74 72 3b 0d 0d 23 65 |BackProc|Ptr;..#e|
|000003a0| 6c 73 65 0d 0d 23 69 66 | 6e 64 65 66 20 5f 5f 53 |lse..#if|ndef __S|
|000003b0| 4f 55 4e 44 5f 5f 0d 23 | 69 6e 63 6c 75 64 65 20 |OUND__.#|include |
|000003c0| 3c 53 6f 75 6e 64 2e 68 | 3e 0d 23 65 6e 64 69 66 |<Sound.h|>.#endif|
|000003d0| 0d 23 69 66 6e 64 65 66 | 20 5f 5f 4f 53 55 54 49 |.#ifndef| __OSUTI|
|000003e0| 4c 53 5f 5f 0d 23 69 6e | 63 6c 75 64 65 20 3c 4f |LS__.#in|clude <O|
|000003f0| 53 55 74 69 6c 73 2e 68 | 3e 0d 23 65 6e 64 69 66 |SUtils.h|>.#endif|
|00000400| 0d 0d 23 65 6e 64 69 66 | 0d 0d 23 69 66 6e 64 65 |..#endif|..#ifnde|
|00000410| 66 20 5f 5f 47 52 41 50 | 48 49 43 53 4d 4f 44 55 |f __GRAP|HICSMODU|
|00000420| 4c 45 5f 54 59 50 45 53 | 5f 5f 0d 23 69 6e 63 6c |LE_TYPES|__.#incl|
|00000430| 75 64 65 20 22 47 72 61 | 70 68 69 63 73 4d 6f 64 |ude "Gra|phicsMod|
|00000440| 75 6c 65 5f 54 79 70 65 | 73 2e 68 22 0d 23 65 6e |ule_Type|s.h".#en|
|00000450| 64 69 66 0d 0d 23 69 66 | 6e 64 65 66 20 6e 69 6c |dif..#if|ndef nil|
|00000460| 0d 23 64 65 66 69 6e 65 | 20 6e 69 6c 20 30 4c 0d |.#define| nil 0L.|
|00000470| 23 65 6e 64 69 66 0d 0d | 73 74 72 75 63 74 20 53 |#endif..|struct S|
|00000480| 6f 75 6e 64 49 6e 66 6f | 20 7b 0d 09 6c 6f 6e 67 |oundInfo| {..long|
|00000490| 20 70 72 69 76 61 74 65 | 44 61 74 61 3b 09 09 09 | private|Data;...|
|000004a0| 2f 2a 20 70 72 69 76 61 | 74 65 20 73 74 6f 72 61 |/* priva|te stora|
|000004b0| 67 65 2e 20 2a 2f 0d 09 | 42 6f 6f 6c 65 61 6e 20 |ge. */..|Boolean |
|000004c0| 73 6f 75 6e 64 44 69 73 | 61 62 6c 65 64 3b 09 09 |soundDis|abled;..|
|000004d0| 2f 2a 20 77 65 20 63 61 | 6e 27 74 20 70 6c 61 79 |/* we ca|n't play|
|000004e0| 20 73 6f 75 6e 64 20 66 | 6f 72 20 76 61 72 69 6f | sound f|or vario|
|000004f0| 75 73 20 72 65 61 73 6f | 6e 73 2e 20 2a 2f 0d 09 |us reaso|ns. */..|
|00000500| 42 6f 6f 6c 65 61 6e 09 | 68 61 73 53 6f 75 6e 64 |Boolean.|hasSound|
|00000510| 49 4f 4d 61 6e 61 67 65 | 72 3b 09 2f 2a 20 77 65 |IOManage|r;./* we|
|00000520| 20 63 61 6e 20 63 61 6c | 6c 20 53 6e 64 43 68 61 | can cal|l SndCha|
|00000530| 6e 6e 65 6c 53 74 61 74 | 75 73 20 69 66 20 74 72 |nnelStat|us if tr|
|00000540| 75 65 2e 20 2a 2f 0d 09 | 42 6f 6f 6c 65 61 6e 20 |ue. */..|Boolean |
|00000550| 68 61 73 50 6f 77 65 72 | 4d 61 6e 61 67 65 72 3b |hasPower|Manager;|
|00000560| 09 2f 2a 20 69 66 20 61 | 20 70 6f 72 74 61 62 6c |./* if a| portabl|
|00000570| 65 2c 20 74 68 65 6e 20 | 77 65 20 68 61 76 65 20 |e, then |we have |
|00000580| 74 68 65 20 70 6f 77 65 | 72 20 6d 61 6e 61 67 65 |the powe|r manage|
|00000590| 72 2e 20 2a 2f 0d 7d 3b | 0d 0d 74 79 70 65 64 65 |r. */.};|..typede|
|000005a0| 66 20 73 74 72 75 63 74 | 20 53 6f 75 6e 64 49 6e |f struct| SoundIn|
|000005b0| 66 6f 20 53 6f 75 6e 64 | 49 6e 66 6f 2c 20 2a 2a |fo Sound|Info, **|
|000005c0| 53 6f 75 6e 64 49 6e 66 | 6f 48 61 6e 64 6c 65 3b |SoundInf|oHandle;|
|000005d0| 0d 0d 65 78 74 65 72 6e | 20 70 61 73 63 61 6c 20 |..extern| pascal |
|000005e0| 53 6f 75 6e 64 49 6e 66 | 6f 48 61 6e 64 6c 65 20 |SoundInf|oHandle |
|000005f0| 4f 70 65 6e 53 6f 75 6e | 64 28 47 4d 50 61 72 61 |OpenSoun|d(GMPara|
|00000600| 6d 42 6c 6f 63 6b 50 74 | 72 20 70 61 72 61 6d 73 |mBlockPt|r params|
|00000610| 29 3b 0d 65 78 74 65 72 | 6e 20 70 61 73 63 61 6c |);.exter|n pascal|
|00000620| 20 76 6f 69 64 20 43 6c | 6f 73 65 53 6f 75 6e 64 | void Cl|oseSound|
|00000630| 28 53 6f 75 6e 64 49 6e | 66 6f 48 61 6e 64 6c 65 |(SoundIn|foHandle|
|00000640| 20 69 6e 66 6f 2c 20 53 | 6e 64 43 68 61 6e 6e 65 | info, S|ndChanne|
|00000650| 6c 50 74 72 20 63 68 61 | 6e 6e 65 6c 29 3b 0d 65 |lPtr cha|nnel);.e|
|00000660| 78 74 65 72 6e 20 70 61 | 73 63 61 6c 20 76 6f 69 |xtern pa|scal voi|
|00000670| 64 20 50 6c 61 79 53 6f | 75 6e 64 28 53 6f 75 6e |d PlaySo|und(Soun|
|00000680| 64 49 6e 66 6f 48 61 6e | 64 6c 65 20 69 6e 66 6f |dInfoHan|dle info|
|00000690| 2c 20 53 6e 64 43 68 61 | 6e 6e 65 6c 50 74 72 20 |, SndCha|nnelPtr |
|000006a0| 63 68 61 6e 6e 65 6c 2c | 20 48 61 6e 64 6c 65 20 |channel,| Handle |
|000006b0| 73 6f 75 6e 64 29 3b 0d | 65 78 74 65 72 6e 20 70 |sound);.|extern p|
|000006c0| 61 73 63 61 6c 20 76 6f | 69 64 20 51 75 69 65 74 |ascal vo|id Quiet|
|000006d0| 53 6f 75 6e 64 28 53 6f | 75 6e 64 49 6e 66 6f 48 |Sound(So|undInfoH|
|000006e0| 61 6e 64 6c 65 20 69 6e | 66 6f 2c 20 53 6e 64 43 |andle in|fo, SndC|
|000006f0| 68 61 6e 6e 65 6c 50 74 | 72 20 63 68 61 6e 6e 65 |hannelPt|r channe|
|00000700| 6c 29 3b 0d 65 78 74 65 | 72 6e 20 70 61 73 63 61 |l);.exte|rn pasca|
|00000710| 6c 20 76 6f 69 64 20 46 | 6c 75 73 68 53 6f 75 6e |l void F|lushSoun|
|00000720| 64 28 53 6f 75 6e 64 49 | 6e 66 6f 48 61 6e 64 6c |d(SoundI|nfoHandl|
|00000730| 65 20 69 6e 66 6f 2c 20 | 53 6e 64 43 68 61 6e 6e |e info, |SndChann|
|00000740| 65 6c 50 74 72 20 63 68 | 61 6e 6e 65 6c 29 3b 0d |elPtr ch|annel);.|
|00000750| 65 78 74 65 72 6e 20 70 | 61 73 63 61 6c 20 6c 6f |extern p|ascal lo|
|00000760| 6e 67 20 47 65 74 53 6f | 75 6e 64 4c 65 6e 67 74 |ng GetSo|undLengt|
|00000770| 68 28 53 6f 75 6e 64 49 | 6e 66 6f 48 61 6e 64 6c |h(SoundI|nfoHandl|
|00000780| 65 20 69 6e 66 6f 2c 20 | 48 61 6e 64 6c 65 20 73 |e info, |Handle s|
|00000790| 6f 75 6e 64 29 3b 0d 65 | 78 74 65 72 6e 20 70 61 |ound);.e|xtern pa|
|000007a0| 73 63 61 6c 20 42 6f 6f | 6c 65 61 6e 20 53 6f 75 |scal Boo|lean Sou|
|000007b0| 6e 64 42 75 73 79 28 53 | 6f 75 6e 64 49 6e 66 6f |ndBusy(S|oundInfo|
|000007c0| 48 61 6e 64 6c 65 20 69 | 6e 66 6f 2c 20 53 6e 64 |Handle i|nfo, Snd|
|000007d0| 43 68 61 6e 6e 65 6c 50 | 74 72 20 63 68 61 6e 6e |ChannelP|tr chann|
|000007e0| 65 6c 29 3b 0d 0d 23 65 | 6e 64 69 66 0d 00 00 00 |el);..#e|ndif....|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00000810| 00 ff f8 00 00 ff f8 00 | 00 ff f8 00 00 03 f8 00 |........|........|
|00000820| 00 01 f8 00 00 00 f8 00 | 00 00 78 00 00 00 38 00 |........|..x...8.|
|00000830| 08 53 6f 75 6e 64 73 2e | 68 00 02 00 00 00 50 61 |.Sounds.|h.....Pa|
|00000840| 72 74 53 49 54 78 00 00 | 00 00 00 00 00 00 00 01 |rtSITx..|........|
|00000850| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 a9 8e 46 26 00 00 | 00 00 00 00 01 ac 01 81 |....F&..|........|
|00000880| 00 71 01 81 00 01 01 80 | ff fe 01 80 00 00 01 80 |.q......|........|
|00000890| 00 00 01 80 00 00 01 87 | ff ff e1 88 00 00 11 88 |........|........|
|000008a0| 00 00 11 88 07 e0 11 88 | 0f f0 11 88 0c 30 11 88 |........|.....0..|
|000008b0| 0c 30 11 88 00 70 11 88 | 00 e0 11 88 01 c0 11 88 |.0...p..|........|
|000008c0| 01 80 11 88 01 80 11 88 | 00 00 11 88 01 80 11 88 |........|........|
|000008d0| 01 80 11 88 00 00 11 88 | 00 00 11 ff ff ff fe 7f |........|........|
|000008e0| ff ff f0 ff ff ff f8 ff | ff ff fc ff ff ff fe ff |........|........|
|000008f0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000900| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 ff 00 21 |...H..Mo|naco...!|
|00000910| 00 00 00 14 00 01 a9 98 | 00 0a 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 28 00 00 00 06 | 00 04 00 64 00 1c 01 dd |...(....|...d....|
|00000930| 02 3d 00 64 00 1c 01 dd | 02 3d a4 21 83 10 00 00 |.=.d....|.=.!....|
|00000940| 06 c3 00 00 06 c3 00 00 | 03 bd 01 00 00 00 00 1e |........|........|
|00000950| 00 64 00 1c 01 dd 02 3d | 00 64 00 1c 01 dd 02 3d |.d.....=|.d.....=|
|00000960| 00 00 03 bd 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 49 |.....n..|.n...>.I|
|00000980| 2e 78 0c dc 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |.x......|.>..MPSR|
|00000990| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000009a0| 03 f0 ff ff 00 00 00 4c | 00 4b 12 bc 00 00 00 00 |.......L|.K......|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+